package cn.tedu.medicalappointmentsystemk.pojo.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@TableName("doctor")
public class DoctorPO implements Serializable {
    @TableId(type = IdType.AUTO)
    Long id;
    String duties;
    String degree;
    String profiles;
    String field;
    Long userId;
    String createUser;
    //创建时间
    @TableField(fill = FieldFill.INSERT)
    LocalDateTime gmtCreate;
    //修改时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    LocalDateTime gmtModified;
}
